package com.hry.store.dao;

import com.hry.store.pojo.Shipping;
import com.hry.store.vo.ShippingVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ShippingMapper {
    int deleteByPrimaryKey(Integer shippingId);

    int insert(Shipping record);

    int insertSelective(Shipping record);

    Shipping selectByPrimaryKey(Integer shippingId);

    int updateByPrimaryKeySelective(Shipping record);

    int updateByPrimaryKey(Shipping record);

    List<Shipping> findShippingByEmail(String userEmail);

    ShippingVo getByShippingId(Integer shippingId);
}